From: Randy Shayed [randy@iar.com]
Sent: Tuesday, August 21, 2001 11:11 AM
To: Taft, John
Cc: blaine@merit.com
Subject: RE: EW740 & PDB38M

Hi John,

	Thanks for the Zip file, Actually I tried your project (it seems you're
using the EW740 v2.00 and I tried the same project using EW740 v2.12 and
they both worked fine.

I could see C and Assembly sources in the PD38SIM  v2.00 with the license
ID That was in your email. Here Are my findings.

A- In your project the Compiler option (Include Debug info was unclicked) .
Please you need to enable this option to include C information. Another
thing choose the IEEE-695 as output format (Xlink options) and rename the
output file to .695. Move all source files to the output directory (EXE) or
setup the output directory to be where your sources are. There could be a
way in PD38 to setup the source directory .. not sure...

B- The attached zip , holds the .695 and all source files (from your
project). All sources should be in the same folder . THIS IS IMPORTANT . It
seemd PD38 always look for Source file in the same folder of the .695 .
PLease Unzip the attached file in a new folder then load the PDB38SIM.

Goto ENVIRON and setup the STARTUP function to be "main" . Then
FILE>DOWNLOAD>LOADMODULE and pick the .695 debug file. In the Program
WIndow you should see directly the function main in a "C" source . Start
stepping through the code. You can open the REGISTERS window and see them
changing. I'm not really familiar with the PD38 but it seems these are the
basic steps to start debugging. I tried the MIX mode and it works OK. if
you want to start with the begining set your startup function to be _init
(found in Cstartup).

Please try the attached file first, and then start your workbech and open
up the project you sent me , enable debugging , choose IEEE695 format then
build your project. Make sure all sources and .695 reside in the same folder.


Best Regards,







At 8/20/01 09:12 PM, you wrote:
>Hi Randy,
>A- I sent email with zipped project to Dan.  You must have received it,
>since you are now helping me.  I will resend that email to you.
>B- I will check with Gary Ford about the emulator.  Gary- Please check into
>this, so IAR can debug this problem.
>
>C- Please contact Blaine Johnson at Merit.  Blaine Johnson
>[blaine@merit.com]
>
>Best Regards,
>John Taft
>Mitsubishi Electric US
>phone: 303-588-0524
>fax: 520-447-3685
>email: taft_john@edg.mea.com
>
>
>-----Original Message-----
>From: Randy Shayed [mailto:randy@iar.com]
>Sent: Monday, August 20, 2001 11:08 AM
>To: Taft, John
>Subject: RE: EW740 & PDB38M
>
>Hi John,
>
>     Dan is no longer with IAR, it's been a while now since he left the
>company. In Order for us to help you and help your customer we need the
>following:
>
>A- Because you have a working project with the 4701, it is vital to capture
>all options used in your project. If it is possible to get a zip file of
>your working project , this will help a lot. Specially the version number
>(Merit has v2.12) Maybe you have an older version that works well.
>
>1- If this is true we can send them an older version (same as yours) for
>them to keep going until we see what's going on.
>2- If they have the same version as yours then it should be working fine,
>they must double check their setup (The 4701 and PD38)
>
>B- There is an old request (With Jeff cannion) to have a 4701 with licensed
>PD38 in house to have a closer look. We did not receive anything till
>today. The IEEE is a very broad format and there is no real standard to it.
>Each manufacturer spices it up. That's why we have all these -y options and
>we all depends on the emulator manufacturer to let us know the direction to
>generate the closest  possible format that will work with the emulator.
>
>C- Do you have a contact email at Merit medical to follow up with them ? To
>double check their options etc ... to make sure they have everything in the
>same folder etc ...
>
>
>Sorry again for the confusion ...
>
>Best Regards,
>
>
>
>
>
>-----
>     \______________                 \|/
>   Hellooooo        \               (@ @)
>---------------------------------oo0( ^ )0oo-------
>Randy Shayed                        <\=/>
>Senior Application engineer          /*\
>IAR Systems Inc.
>Email : randy@iar.com
>WWW: http://www.iar.com
>---------------------------------------------------
>"The information contained in this message is confidential and may be
>legally privileged.  It is intended solely for the addressee.  Access to
>this message by anyone else is unauthorized.  If you are not the intended
>recipient, any disclosure, copying or distribution of this message, or any
>action or omission taken by you in reliance on it, is prohibited and may be
>unlawful.  Please immediately contact the sender if you have received this
>message in error."





-----
     \______________                 \|/
   Hellooooo        \               (@ @)
---------------------------------oo0( ^ )0oo-------
Randy Shayed                        <\=/> 
Senior Application engineer          /*\
IAR Systems Inc.
Email : randy@iar.com
WWW: http://www.iar.com
---------------------------------------------------
"The information contained in this message is confidential and may be
legally privileged.  It is intended solely for the addressee.  Access to
this message by anyone else is unauthorized.  If you are not the intended
recipient, any disclosure, copying or distribution of this message, or any
action or omission taken by you in reliance on it, is prohibited and may be
unlawful.  Please immediately contact the sender if you have received this
message in error." 
